package com.yfp.goods.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Schema(title = "商品信息")
@Data
public class GoodsVo implements Serializable {

    private static final long serialVersionUID = -79371673493342368L;



    /**
     * 商品名称
     */
    @Schema(title ="商品名称")
    @NotNull(message = "商品名称不能为空")
    private String goodsName;
    /**
     * 商品描述
     */
    @Schema(title ="商品描述")
    @NotNull(message = "商品描述不能为空")
    private String goodsDesc;

    /**
     * 区域id
     */
    @Schema(title ="区域id")
    private String areaId;
    /**
     * 商品分类id
     */
    @Schema(title ="商品分类id")
    @NotNull(message = "商品分类id不能为空")
    private String goodsTypeId;
    /**
     * 销售价
     */
    @Schema(title ="销售价")
    @NotNull(message = "销售价不能为空")
    private String salePrice;
    /**
     * 成本价
     */
    @Schema(title ="成本价")
    @NotNull(message = "成本价不能为空")
    private String costPrice;
    /**
     * 加热时间（秒）
     */
    @Schema(title ="加热时间（秒）")
    @NotNull(message = "加热时间（秒）不能为空")
    private Integer heatTime;

    /**
     * 温度
     */
    @Schema(title ="温度")
    private String temperature;

    /**
     * 供应商
     */
    @Schema(title ="供应商")
    @NotNull(message = "供应商不能为空")
    private String supplier;
    /**
     * 封面图片id
     */
    @Schema(title ="封面图片id")
    @NotNull(message = "封面图片id不能为空")
    private String frontImgId;

    /**
     * 保质期（天）
     */
    @Schema(title ="保质期（天）")
    @NotNull(message = "保质期（天）不能为空")
    private Integer expireDay;
    /**
     * 会员价
     */
    @Schema(title ="会员价")
    private String vipPrive;
    /**
     * 小程序价
     */
    @Schema(title ="小程序价")
    private String miniPrice;

    @Schema(title ="配料")
    private String dosing;

    @Schema(title ="城市名称")
    private String cityName;


    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getDosing() {
        return dosing;
    }

    public void setDosing(String dosing) {
        this.dosing = dosing;
    }


    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getGoodsTypeId() {
        return goodsTypeId;
    }

    public void setGoodsTypeId(String goodsTypeId) {
        this.goodsTypeId = goodsTypeId;
    }

    public String getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(String salePrice) {
        this.salePrice = salePrice;
    }

    public String getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(String costPrice) {
        this.costPrice = costPrice;
    }

    public Integer getHeatTime() {
        return heatTime;
    }

    public void setHeatTime(Integer heatTime) {
        this.heatTime = heatTime;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getFrontImgId() {
        return frontImgId;
    }

    public void setFrontImgId(String frontImgId) {
        this.frontImgId = frontImgId;
    }

    public Integer getExpireDay() {
        return expireDay;
    }

    public void setExpireDay(Integer expireDay) {
        this.expireDay = expireDay;
    }

    public String getVipPrive() {
        return vipPrive;
    }

    public void setVipPrive(String vipPrive) {
        this.vipPrive = vipPrive;
    }

    public String getMiniPrice() {
        return miniPrice;
    }

    public void setMiniPrice(String miniPrice) {
        this.miniPrice = miniPrice;
    }
}
